<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>GraphPaths:  File sorgente src/elemento_ui.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GraphPaths
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">Creazione di grafi e calcolo dei percorsi minimi</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generato da Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Cerca');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Pagina&#160;Principale</span></a></li>
      <li><a href="annotated.html"><span>Classi</span></a></li>
      <li class="current"><a href="files.html"><span>File</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Cerca" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Elenco&#160;dei&#160;file</span></a></li>
      <li><a href="globals.html"><span>Elementi&#160;dei&#160;file</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tutto</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classi</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>File</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funzioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variabili</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Ridefinizioni di tipo (typedef)</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Definizioni</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Pagine</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">elemento_ui.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="elemento__ui_8h.html">Vai alla documentazione di questo file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef ELEMENTO_UI_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ELEMENTO_UI_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;glib.h&gt;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;gtk/gtk.h&gt;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="classElemento__ui.html">    7</a></span>&#160;<span class="keyword">class </span><a class="code" href="classElemento__ui.html">Elemento_ui</a></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;{</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;      <a class="code" href="classElemento__ui.html#aaec9a3dfd4af974ceed44115f966e63a">Elemento_ui</a>();</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;      </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;      <span class="keyword">virtual</span> <a class="code" href="classElemento__ui.html#a23841e472885f03089e288140d329288">~Elemento_ui</a>();</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;      </div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classElemento__ui.html#a47faa830e415ba29e719a9ab83593928">   19</a></span>&#160;      gdouble <a class="code" href="classElemento__ui.html#a47faa830e415ba29e719a9ab83593928">get_x</a>() { <span class="keywordflow">return</span> <a class="code" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>; }</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;      </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classElemento__ui.html#a721c1ebab284aab5b19ccefcc50cba5a">   24</a></span>&#160;      <span class="keywordtype">void</span> <a class="code" href="classElemento__ui.html#a721c1ebab284aab5b19ccefcc50cba5a">set_x</a>(gdouble val) { <a class="code" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a> = val; }</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;      </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classElemento__ui.html#af1ed990dca773d10b4c1770b9ed4cc73">   29</a></span>&#160;      gdouble <a class="code" href="classElemento__ui.html#af1ed990dca773d10b4c1770b9ed4cc73">get_y</a>() { <span class="keywordflow">return</span> <a class="code" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>; }</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;      </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classElemento__ui.html#a1a6257bea44d7719c3b36e71f9078650">   34</a></span>&#160;      <span class="keywordtype">void</span> <a class="code" href="classElemento__ui.html#a1a6257bea44d7719c3b36e71f9078650">set_y</a>(gdouble val) { <a class="code" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a> = val; }</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;      </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classElemento__ui.html#aadb31650bf503a9e11cad83d9c09fad5">   40</a></span>&#160;      gboolean <a class="code" href="classElemento__ui.html#aadb31650bf503a9e11cad83d9c09fad5">is_selected</a>() { <span class="keywordflow">return</span> <a class="code" href="classElemento__ui.html#a509f8e3b1b642946ca3180d75e490556">selected</a>; }</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;      </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classElemento__ui.html#a0000045a9fecb99f47f0682332d4ad6a">   45</a></span>&#160;      <span class="keywordtype">void</span> <a class="code" href="classElemento__ui.html#a0000045a9fecb99f47f0682332d4ad6a">set_selected</a>(gboolean val) { <a class="code" href="classElemento__ui.html#a509f8e3b1b642946ca3180d75e490556">selected</a> = val; }</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;      </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classElemento__ui.html#a37efc2ee23d6d16e051f3f96c2c5320e">   50</a></span>&#160;      gboolean <a class="code" href="classElemento__ui.html#a37efc2ee23d6d16e051f3f96c2c5320e">is_over</a>() { <span class="keywordflow">return</span> <a class="code" href="classElemento__ui.html#a046b1967d7193a4632e7347886c33471">over</a>; }</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;      </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classElemento__ui.html#a6e4690bef88aeb0049c67d430a27ac95">   55</a></span>&#160;      <span class="keywordtype">void</span> <a class="code" href="classElemento__ui.html#a6e4690bef88aeb0049c67d430a27ac95">set_over</a>(gboolean val) { <a class="code" href="classElemento__ui.html#a046b1967d7193a4632e7347886c33471">over</a> = val; }</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;      </div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;      <span class="keywordtype">void</span> <a class="code" href="classElemento__ui.html#a6e4690bef88aeb0049c67d430a27ac95">set_over</a>(gdouble <a class="code" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="code" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;      </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;      <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classElemento__ui.html#a2368ed35b0f4727b2091bd9b4457a845">draw</a>(cairo_t* &amp;cr);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;      </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;      <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classElemento__ui.html#ab69c7898cd232b414595b3c8d7a4dfc9">update</a>(gdouble <a class="code" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="code" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;      </div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;      <span class="keyword">virtual</span> gboolean <a class="code" href="classElemento__ui.html#abf413d6539ec824c441cfe140a2335b5">intersect</a>(gdouble <a class="code" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>, gdouble <a class="code" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>);         </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">   85</a></span>&#160;        gdouble <a class="code" href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">x</a>; </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">   86</a></span>&#160;        gdouble <a class="code" href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">y</a>; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classElemento__ui.html#a509f8e3b1b642946ca3180d75e490556">   87</a></span>&#160;        gboolean <a class="code" href="classElemento__ui.html#a509f8e3b1b642946ca3180d75e490556">selected</a>; </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classElemento__ui.html#a046b1967d7193a4632e7347886c33471">   88</a></span>&#160;        gboolean <a class="code" href="classElemento__ui.html#a046b1967d7193a4632e7347886c33471">over</a>; </div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keyword">private</span>:</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;};</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="preprocessor">#endif // IELEMENTOUI_H</span></div>
<div class="ttc" id="classElemento__ui_html_ab69c7898cd232b414595b3c8d7a4dfc9"><div class="ttname"><a href="classElemento__ui.html#ab69c7898cd232b414595b3c8d7a4dfc9">Elemento_ui::update</a></div><div class="ttdeci">virtual void update(gdouble x, gdouble y)</div><div class="ttdef"><b>Definition:</b> elemento_ui.cc:23</div></div>
<div class="ttc" id="classElemento__ui_html_aadb31650bf503a9e11cad83d9c09fad5"><div class="ttname"><a href="classElemento__ui.html#aadb31650bf503a9e11cad83d9c09fad5">Elemento_ui::is_selected</a></div><div class="ttdeci">gboolean is_selected()</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:40</div></div>
<div class="ttc" id="classElemento__ui_html"><div class="ttname"><a href="classElemento__ui.html">Elemento_ui</a></div><div class="ttdef"><b>Definition:</b> elemento_ui.h:7</div></div>
<div class="ttc" id="classElemento__ui_html_a65ba6be564ea56bcf8ab14322794db54"><div class="ttname"><a href="classElemento__ui.html#a65ba6be564ea56bcf8ab14322794db54">Elemento_ui::x</a></div><div class="ttdeci">gdouble x</div><div class="ttdoc">Coordinata X dell&#39;oggetto. </div><div class="ttdef"><b>Definition:</b> elemento_ui.h:85</div></div>
<div class="ttc" id="classElemento__ui_html_a509f8e3b1b642946ca3180d75e490556"><div class="ttname"><a href="classElemento__ui.html#a509f8e3b1b642946ca3180d75e490556">Elemento_ui::selected</a></div><div class="ttdeci">gboolean selected</div><div class="ttdoc">Indica se l&#39;oggetto è stato selezionato. </div><div class="ttdef"><b>Definition:</b> elemento_ui.h:87</div></div>
<div class="ttc" id="classElemento__ui_html_a2368ed35b0f4727b2091bd9b4457a845"><div class="ttname"><a href="classElemento__ui.html#a2368ed35b0f4727b2091bd9b4457a845">Elemento_ui::draw</a></div><div class="ttdeci">virtual void draw(cairo_t *&amp;cr)</div><div class="ttdef"><b>Definition:</b> elemento_ui.cc:18</div></div>
<div class="ttc" id="classElemento__ui_html_af1ed990dca773d10b4c1770b9ed4cc73"><div class="ttname"><a href="classElemento__ui.html#af1ed990dca773d10b4c1770b9ed4cc73">Elemento_ui::get_y</a></div><div class="ttdeci">gdouble get_y()</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:29</div></div>
<div class="ttc" id="classElemento__ui_html_aaec9a3dfd4af974ceed44115f966e63a"><div class="ttname"><a href="classElemento__ui.html#aaec9a3dfd4af974ceed44115f966e63a">Elemento_ui::Elemento_ui</a></div><div class="ttdeci">Elemento_ui()</div><div class="ttdef"><b>Definition:</b> elemento_ui.cc:3</div></div>
<div class="ttc" id="classElemento__ui_html_abf413d6539ec824c441cfe140a2335b5"><div class="ttname"><a href="classElemento__ui.html#abf413d6539ec824c441cfe140a2335b5">Elemento_ui::intersect</a></div><div class="ttdeci">virtual gboolean intersect(gdouble x, gdouble y)</div><div class="ttdef"><b>Definition:</b> elemento_ui.cc:28</div></div>
<div class="ttc" id="classElemento__ui_html_a23841e472885f03089e288140d329288"><div class="ttname"><a href="classElemento__ui.html#a23841e472885f03089e288140d329288">Elemento_ui::~Elemento_ui</a></div><div class="ttdeci">virtual ~Elemento_ui()</div><div class="ttdef"><b>Definition:</b> elemento_ui.cc:8</div></div>
<div class="ttc" id="classElemento__ui_html_a046b1967d7193a4632e7347886c33471"><div class="ttname"><a href="classElemento__ui.html#a046b1967d7193a4632e7347886c33471">Elemento_ui::over</a></div><div class="ttdeci">gboolean over</div><div class="ttdoc">Indica se il mouse si trova sopra all&#39;oggetto. </div><div class="ttdef"><b>Definition:</b> elemento_ui.h:88</div></div>
<div class="ttc" id="classElemento__ui_html_a721c1ebab284aab5b19ccefcc50cba5a"><div class="ttname"><a href="classElemento__ui.html#a721c1ebab284aab5b19ccefcc50cba5a">Elemento_ui::set_x</a></div><div class="ttdeci">void set_x(gdouble val)</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:24</div></div>
<div class="ttc" id="classElemento__ui_html_a36749900d4a5b1e4d8db239691a531f8"><div class="ttname"><a href="classElemento__ui.html#a36749900d4a5b1e4d8db239691a531f8">Elemento_ui::y</a></div><div class="ttdeci">gdouble y</div><div class="ttdoc">Coordinata Y dell&#39;oggetto. </div><div class="ttdef"><b>Definition:</b> elemento_ui.h:86</div></div>
<div class="ttc" id="classElemento__ui_html_a6e4690bef88aeb0049c67d430a27ac95"><div class="ttname"><a href="classElemento__ui.html#a6e4690bef88aeb0049c67d430a27ac95">Elemento_ui::set_over</a></div><div class="ttdeci">void set_over(gboolean val)</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:55</div></div>
<div class="ttc" id="classElemento__ui_html_a37efc2ee23d6d16e051f3f96c2c5320e"><div class="ttname"><a href="classElemento__ui.html#a37efc2ee23d6d16e051f3f96c2c5320e">Elemento_ui::is_over</a></div><div class="ttdeci">gboolean is_over()</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:50</div></div>
<div class="ttc" id="classElemento__ui_html_a0000045a9fecb99f47f0682332d4ad6a"><div class="ttname"><a href="classElemento__ui.html#a0000045a9fecb99f47f0682332d4ad6a">Elemento_ui::set_selected</a></div><div class="ttdeci">void set_selected(gboolean val)</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:45</div></div>
<div class="ttc" id="classElemento__ui_html_a1a6257bea44d7719c3b36e71f9078650"><div class="ttname"><a href="classElemento__ui.html#a1a6257bea44d7719c3b36e71f9078650">Elemento_ui::set_y</a></div><div class="ttdeci">void set_y(gdouble val)</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:34</div></div>
<div class="ttc" id="classElemento__ui_html_a47faa830e415ba29e719a9ab83593928"><div class="ttname"><a href="classElemento__ui.html#a47faa830e415ba29e719a9ab83593928">Elemento_ui::get_x</a></div><div class="ttdeci">gdouble get_x()</div><div class="ttdef"><b>Definition:</b> elemento_ui.h:19</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generato Mar 1 Lug 2014 08:40:17 per GraphPaths da &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
